package com.suning.sawp.po.task;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity(name = "ORG_RESPMAN")
public class OrgRespman implements Serializable{

    /**
     */
    private static final long serialVersionUID = -5059348816339682674L;
    
    private Integer Id;
    
    private String orgCode;
    
    private String orgName;
    
    private String categoryCode;
    
    private String staffCode;
    
    private String staffName;
    
    private String orgLevel;
    
    private String postCode;
    
    @Id
    @Column(name = "ID")
    public Integer getId() {
        return Id;
    }

    public void setId(Integer id) {
        Id = id;
    }
    
    @Column(name = "ORG_CODE")
    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    @Column(name = "ORG_NAME")
    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    @Column(name = "CATEGORY_CODE")
    public String getCategoryCode() {
        return categoryCode;
    }

    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }

    @Column(name = "STAFF_CODE")
    public String getStaffCode() {
        return staffCode;
    }

    public void setStaffCode(String staffCode) {
        this.staffCode = staffCode;
    }

    @Column(name = "STAFF_NAME")
    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    @Column(name = "ORG_LEVEL")
    public String getOrgLevel() {
        return orgLevel;
    }

    public void setOrgLevel(String orgLevel) {
        this.orgLevel = orgLevel;
    }

    @Column(name = "POST_CODE")
    public String getPostCode() {
        return postCode;
    }

    public void setPostCode(String postCode) {
        this.postCode = postCode;
    }
    
    public interface Attributes{
        String HQ_LEVEL = "1";
        String REGION_LEVEL = "2";
        String STORE_LEVEL = "3";
    }
}
